<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>发送邮件</title>
    <script language="JavaScript" src="js/jquery-1.4.2.js"></script>
</head>
<body>
<center>
    <form action="/email_send" onsubmit="show()" method="post">
        <table>
            <tr>
                <td>收件人：</td>
                <td><input type="text" name="to"></td>
            </tr>
            <tr>
                <td>主题：</td>
                <td><input type="text" name="subject"></td>
            </tr>
            <tr>
                <td>内容：</td>
                <td><textarea style="width:300px;height:100px;" name="content"></textarea></td>
            </tr>
        </table>
        <input type="submit" value="发送邮件">
    </form>
</center>
</body>
<script language="JavaScript">
    //页面加载事件
    $(document).ready(function(){
        $.get("getJson", function(data){
            // json = eval('(' + data + ')');
            // $("#page_num").val(data);
            // alert(data);
        });
    });
</script>
</html>